﻿Public Class frmUploading
    Dim i As Integer

    Private Sub frmUploading_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        i = 0
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If i > 99 Then i = 0
        i = i + 1
        ProgressBar1.Value = i
    End Sub
End Class